object ArithoperDemo01 {
  def main(array: Array[String]):Unit={
    var  r1 :Int=10/3
    println("r1="+r1)
    var r2:Double=10/3
    println("r2="+r2)
    var  r3:Double=10.0/3
    println("r3="+r3)
    println("r3="+r3.formatted("%.2f"))
    println(10 % 3)
    println(-10 % 3)
    println(-10 % -3)
    println(10% -3)

    var num1=10
    num1+=1
    num1-=1
    println(num1)
  }


}
